pp108 : removeDir (FTP)

removeDir (FTP)


This Web service operation deletes a directory on the FTP server. For this Web service operation to work, the specified directory has to be empty.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <removeDir xmlns="http://schemas.cordys.com/ftpconnector/1.1">
            <configuration>ftpserver</configuration>
            <directory>/Developments</directory>
        </removeDir>
    </SOAP:Body>
</SOAP:Envelope>

Request Parameters

Tags

Description

configuration

Name of the Configuration Profile that contains the FTP server details.

directory

The path of the directory to be deleted


SOAP Response

<removeDirResponse xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <configuration xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">ftpserver</configuration>
    <directory xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">/Developments</directory>
    <statuscode>250</statuscode>
    <status>RMD command successful. </status>
</removeDirResponse>